Optimal. Leaf size=43 \[ a^2 x+\frac{1}{2} a b x \left (c x^n\right )^{3/n}+\frac{1}{7} b^2 x \left (c x^n\right )^{6/n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0147318, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {254, 194} \[ a^2 x+\frac{1}{2} a b x \left (c x^n\right )^{3/n}+\frac{1}{7} b^2 x \left (c x^n\right )^{6/n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 254
Rule 194
Rubi steps
\begin{align*} \int \left (a+b \left (c x^n\right )^{3/n}\right )^2 \, dx &=\left (x \left (c x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int \left (a+b x^3\right )^2 \, dx,x,\left (c x^n\right )^{\frac{1}{n}}\right )\\ &=\left (x \left (c x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int \left (a^2+2 a b x^3+b^2 x^6\right ) \, dx,x,\left (c x^n\right )^{\frac{1}{n}}\right )\\ &=a^2 x+\frac{1}{2} a b x \left (c x^n\right )^{3/n}+\frac{1}{7} b^2 x \left (c x^n\right )^{6/n}\\ \end{align*}
Mathematica [A] time = 0.0127153, size = 43, normalized size = 1. \[ a^2 x+\frac{1}{2} a b x \left (c x^n\right )^{3/n}+\frac{1}{7} b^2 x \left (c x^n\right )^{6/n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.182, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b \left ( c{x}^{n} \right ) ^{3\,{n}^{-1}} \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} b^{2} c^{\frac{6}{n}} \int{\left (x^{n}\right )}^{\frac{6}{n}}\,{d x} + 2 \, a b c^{\frac{3}{n}} \int{\left (x^{n}\right )}^{\frac{3}{n}}\,{d x} + a^{2} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.36956, size = 69, normalized size = 1.6 \begin{align*} \frac{1}{7} \, b^{2} c^{\frac{6}{n}} x^{7} + \frac{1}{2} \, a b c^{\frac{3}{n}} x^{4} + a^{2} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.421475, size = 41, normalized size = 0.95 \begin{align*} a^{2} x + \frac{a b c^{\frac{3}{n}} x \left (x^{n}\right )^{\frac{3}{n}}}{2} + \frac{b^{2} c^{\frac{6}{n}} x \left (x^{n}\right )^{\frac{6}{n}}}{7} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10706, size = 47, normalized size = 1.09 \begin{align*} \frac{1}{7} \, b^{2} c^{\frac{6}{n}} x^{7} + \frac{1}{2} \, a b c^{\frac{3}{n}} x^{4} + a^{2} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]